import Curd from './base/curd'
import http from './base/axios'

var curd = new Curd("channel");

curd.goods = (pageNo, materialId) => {
	return http.get(curd.root + '/material', {
		params: {
			pageNo: pageNo,
			materialId: materialId
		}
	});
}

export default curd;
